home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / os2 / pms_106.zip / PMSTRIP.DOC < prev    next >
Text File  |  1996-09-02  |  16KB  |  396 lines

  1.  
  2. PMStripper 1.06
  3.  
  4.  
  5. I. Overview:
  6.  
  7.  
  8. This PM shareware utility strips HTML codes from Web pages, leaving
  9. only the text and URLs (optionally).  Some of the page's formatting
  10. is retained, but since PMStripper is not an HTML interpreter most
  11. formatting is lost.  While the layout of tables and lists is lost
  12. during stripping, data is sorted to separate lines for legibility.
  13.  
  14. PMStripper is designed to provide a quick conversion of HTML coded
  15. files into plain ASCII text.  Although the converted files can be
  16. edited while loaded in PMStripper, only simple edit commands are
  17. available.  Therefore, if extensive editing is needed, the text
  18. should be loaded into a more capable word processor or text editor.
  19.  
  20. The registered version offers a menu item to easily move stripped
  21. files to programs suited for advanced editing.
  22.  
  23. One convenient use of PMStripper is to quickly convert Web pages to
  24. text for spell checking without having to constantly click to accept
  25. (or add) HTML codes and links to the spelling dictionary.
  26.  
  27. PMStripper is a shareware program and if you continue to use the
  28. program you should register it.  PMStripper does not have any
  29. code to check on how long the program has been in use, so it is
  30. up to the user to determine a reasonable trial period.
  31.  
  32. The shareware version of PMStripper is fully functional, some of
  33. the convenience features are disabled but they do not effect the
  34. function of the utility.  Trying the disabled features will bring
  35. up an unregistered message requiring a user response.
  36.  
  37.  
  38. II.  Installing PMStripper:
  39.  
  40.  
  41. 1) Unzip the archive.
  42.  
  43. 2) If REXX is installed:  Run the INSTALL.CMD script from an OS/2
  44. command prompt, or by double clicking on the install file's icon.
  45.  
  46. The script will create a destination directory and transfer program
  47. files to it.  Optionally, you may use the unzip directory as the
  48. working directory.  In either case the script will create a
  49. PMStripper program object on the desktop and set file associations
  50. for .HTM and .HTML files.  Setting associations this way allows
  51. instant loading, and stripping, of saved web pages by double clicking
  52. their icons.
  53.  
  54. If the install program cannot create the desired directory, just move
  55. all unzipped files to the working directory before running the
  56. install program.
  57.  
  58. 3) If REXX is not installed:  Unzip the archive in the desired
  59. working directory and manually:  a) Create a desktop program object,
  60. and b) Set .HTM and HTML associations.  (See OS/2 documentation for
  61. instructions, if needed.)
  62.  
  63.  
  64. III.  Files
  65.  
  66.  
  67. PMStripper is distributed in the compressed archive PMSR_xxx.zip,
  68. where xxx is the version number.  The archive contains these files:
  69.  
  70.  
  71. NAME          SIZE       DESCRIPTION
  72.  
  73. FILE_ID.DIZ        404    File description for BBS use.
  74. INSTALL.CMD       2326    Install script.
  75. LICENSE.TXT       4661    License.
  76. ORDER.BMT         3576    BMT Micro order form
  77. PMSTRIP.DOC      16077    This file.
  78. PMSTRIP.EXE     370548    Program executable.
  79. PMSTRIPR.ICO       874    Program icon.
  80. PMSTRIPB.ICO       874    Program icon.
  81. TIPS               881    Tips on using PMStripper
  82. WHATS.NEW         3682    Description of changes in this version    
  83.  
  84.  
  85. IV.  Uninstalling PMStripper:
  86.  
  87.  
  88. If you find it necessary to remove PMStripper, simply delete the
  89. unzipped files, program object, associations and directory.
  90. PMStripper makes no entries in configuration or initialization files.
  91.  
  92.  
  93.  
  94. V. Using PMStripper
  95.  
  96.  
  97. PMStripper is a simple program with only five menu bar items:
  98.  
  99. 1. 'File' offers four pull-down menu items:  'Open File', 'Reload
  100. Source File', 'Save As' and 'Exit'.  All except 'Reload Source File'
  101. performs in a standard OS/2 manner.  'Reload Source File' uses the
  102. existing file name, thereby avoiding the file dialog box since the
  103. desired file name is already loaded.
  104.  
  105. The 'Reload Source File' menu item reloads the current HTML file and
  106. is a handy way to make changes in the the stripper's options and then 
  107. view the same HTML, processed differently.
  108.  
  109. If the INSTALL.CMD file is used to install PMStripper, the association
  110. for .htm and .html is set so that a double click will load files with
  111. those extensions into PMStripper.
  112.  
  113. The utility will also load HTML coded files for stripping via drag
  114. and drop of the file's icon onto that of the PMStripper.  However,
  115. the capability to load files by drag and drop onto an open edit
  116. window does not exist.
  117.  
  118. Picking a file name for the 'Save As' is easy: Highlight some text
  119. for the name and then click on 'Save As', or simply highlight and
  120. then press Alt+S.  If you have not highlighted text for the file
  121. name, the original file's name (with the extension .htm or .html
  122. replaced by .txt) is offered as the default.  The option to use
  123. highlighted text is only available in the registered version. A
  124. check has been added to warn the user if he is about to overwrite an
  125. existing file. If the file is write protected an error message is
  126. displayed.  If the file is not write protected, the user is prompted
  127. for an 'Ok' or 'Cancel' response.
  128.  
  129. To directly print the stripped text, select a printer as the file's 
  130. destination. Entering 'lpt1' or 'lpt2' (as the file name) will send the 
  131. text to a printer.  This method bypasses the WPS print manager and 
  132. results in using the printer's default font. Additionally, since word 
  133. wrap in the PMStripper display window does not reformat the text, line 
  134. lengths must be user adjusted to fit the printer.
  135.  
  136.  
  137. 2. 'Edit' has five sub-menu items which also operate as expected.
  138. They are 'Cut', 'Copy', 'Paste', 'Select All' and 'Undo Change'.  The
  139. 'Undo Change' selection will undo the last change made to the text in
  140. the window and is only one level deep.
  141.  
  142.  
  143. 3. 'Options' has six sub-menu items.  They are 'Display Options',
  144. 'URL Settings', 'Strip Options', 'External Editor Settings',
  145. 'Filename Settings' and 'Save Settings'.
  146.  
  147. 'Display Options' has two sub-menu items.  They are 'Font' and 'Word
  148. Wrap'.  'Font' brings up a standard OS/2 font dialog box and will
  149. allow the selection of any of the installed fonts.  The font that
  150. is active when 'Save Settings' is selected will be made the default
  151. font. 'Word Wrap' is a toggle setting that turns word wrap on or off.
  152. The wrap function does not actually reformat the text, instead it
  153. effects only the way text is displayed. 
  154.  
  155. 'URL Settings' has two sub-menu items.  They are 'Add URLs' and
  156. 'Leave URLs'.  These options effect how the HTML file is processed
  157. and the file must be reloaded for these changes to effect current
  158. file.  'Add URLs' appends the URLs found in the HTML file to the end
  159. of the stripped text.  'Leave URLs' leaves the URLs found in the HTML
  160. file in the stripped text.
  161.  
  162. 'Strip Options' has two sub-menu items: 'Ignore <BR>' and 'Ignore 
  163. cr-lf'. These items are mutually exclusive and, since they are not
  164. normally needed, are not saved via the "Save Settings" menu item. These
  165. options are useful when the stripped output has excessive blank lines, 
  166. not present in the source file.  This often occurs in Web published
  167. poetry since many are formatted with both carriage return - line feed
  168. (cr-lf) pairs and the HTML code <BR> which prevents text reformatting
  169. by the browser. PMStripper normally translates <BR> into a cr-lf pair
  170. thereby producing unnecessary blank lines. These two menu items strips
  171. either the cr-lf pairs OR the <BR> codes from the text before any other
  172. actions are performed.  The results of using either option should be
  173. similar, but one method may produce better results depending on how the
  174. text was originally formatted.
  175.  
  176. 'External Editor Settings' has two sub-menu items.  They are 'Use
  177. __TMP2__ File' and 'Use Clipboard'.  'Use __TMP2__ File' causes the
  178. temporary file __TMP2__ to be left in the current working directory
  179. for use by an external editor.  'Use Clipboard' causes the stripped
  180. file to be copied to the OS/2 clipboard when the user selects 'Exit
  181. to Word Processor'.  These option settings are only effective in the
  182. registered version.
  183.  
  184. 'Filename Settings' has four sub-menu items.  They are 'Replac